﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"  CodeBehind="SearchAll.aspx.cs" Inherits="BookExchange.SearchAll" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    
        <style type="text/css">
            .search-paging
            {
                width: 100%;
            }
 
 
   </style>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">

    <!-- Danh sách các request -->
    <div class="nta-box4">
        <div class="box4-title">
            <asp:Label ID="lblPostQty" runat="server" Text="0"></asp:Label><img src="images/nta/box4/logo-title.png" /></div>

        <div class="box4-content">
            <asp:Repeater runat="server" ID="repPost">
                <ItemTemplate>

                    <div class="nta-sanpham">
                        <a href='detail.aspx?c=<%# Eval("RequestCode") %>'>
                            <img alt="" src="<%# Eval("BookUrl") %>" /></a>
                        <span class="nta-preffix"></span><%# Eval("BookName") %>
                    </div>

                    <div class="tooltip nta-tooltip-preview">
                        <div class="detail-tooltip">
                            <h3 class="title-tooltip"><%# Eval("BookName") %> </h3>
                            <ul class="nolist">
                                <li>Giá bìa:<span class="price1-tooltip">    <%#Eval("Price1",formatPrice1) %></span></li>
                                <li>Giá bán:<span class="price1-tooltip">  <%#Eval("Price2",formatPrice2) %></span></li>

                                <li>Ngày tạo:&nbsp<%#Eval("CreatingDate",formatDate) %></li>
                                <li>Số lượng:&nbsp<%#Eval("Quantity",formatQuantity) %></li>
                                <li>Nơi giao:&nbsp<%#Eval("ExchangePlace") %></li>
                            </ul>
                        </div>

                    </div>

                </ItemTemplate>
            </asp:Repeater>


            <div class="nta-phantrang">
                <%-- <ul>
                                    <li><a href="/img/wallpapers/2/" id="prevous">&lt;</a></li>
                                    <asp:Repeater runat="server" ID="Repeater1">
                                        <ItemTemplate>
                                            <li><a href="<%# Eval("Link") %>" class="<%# Eval("ActiveClass") %>"" >1</a></li>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    <li><a href="/img/wallpapers/2/" id="next">&gt;</a></li>
                                </ul>--%>

                <div class="search-paging">
                    <%--   <cc1:CollectionPager ID="CollectionPagerPost" runat="server" ShowFirstLast="True" 
            BackText="Trước" BackNextLocation="Split" BackNextDisplay="HyperLinks" 
            NextText="Sau" FirstText="&nbspTrang đầu" LabelText="Trang" LastText="&nbspTrang cuối" 
              ResultsFormat="Hiển thị từ {0} đến {1} "
           LabelStyle="font-weight:bold" ResultsStyle="FONT-WEIGHT: bold;"
           PagingMode="PostBack" HideOnSinglePage="True" ShowLabel="False"  
           PageNumbersDisplay="Numbers" ShowPageNumbers="True" UseSlider="True" ResultsLocation="None" ControlCssClass="paginator" PageNumbersStyle="margin:0px 7px;" PageSize="10" SliderSize="7" MaxPages="1000000">
            </cc1:CollectionPager>--%>



                    <webdiyer:AspNetPager CssClass="paginator" CurrentPageButtonClass="cpb"
                        ID="AspNetPagerPost" runat="server"
                        OnPageChanged="AspNetPagerPost_PageChanged"
                        FirstPageText="Trang đầu" LastPageText="Trang cuối"
                        EnableTheming="true" AlwaysShowFirstLastPageNumber="True"
                        CurrentPageButtonPosition="Center"
                        NumericButtonCount="10">
                    </webdiyer:AspNetPager>

                </div>


                <%--    <div class="nta-xemtatca"><a class="button-blue radius5px" href="search.aspx?allpost=1">Xem tất cả</a></div>--%>
            </div>
        </div>

    </div>


</asp:Content>
